/*
 * MixTask.hpp
 *
 *  Created on: 22 gru 2013
 *      Author: dawid.wysakowicz
 */

#ifndef MIXTASK_HPP_
#define MIXTASK_HPP_

#include "common.hpp"
#include <mutex>

namespace threads
{

class MixTask
{
public:
	MixTask(dna::marker& input, std::list<dna::genotypeSet >& results, std::mutex& resultGuard);
	void operator ()();
	virtual ~MixTask();
private:
	dna::marker input_;
	std::list<dna::genotypeSet>& results_;
	std::mutex& resultGuard_;
};

} /* namespace threads */

#endif /* MIXTASK_HPP_ */
